package com.meizi.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.meizi.mall.product.entity.AttrAttrgroupRelationEntity;
import com.meizi.core.tool.api.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author meizi
 * @email enjoymeizi@gmail.com
 * @date 2021-01-06 13:26:58
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<AttrAttrgroupRelationEntity> selectRelationByGroupId(Long attrgroupId);

    List<Long> getRelationedAttrIdsBygroupIds(List<Long> allIds);

    void removeRelation(List<AttrAttrgroupRelationEntity> asList);
}

